function getData(data) {
	return (new Function("return " + data))(); 
}

function extendRow(o, num) {
	var alt = $(o).attr("alt");
	var project_id = $("#project_id").val();
	if(alt == 'extend') {
		$(o).attr("src", "image/button/datagrid_row_collapse.gif");
		$(o).attr("alt", "collapse");
		$("#"+num).load("searchJsonProjeckpi.do", {"bean.project_id":project_id,"parent_code":num});
	} else {
		$(o).attr("src", "image/button/datagrid_row_expand.gif");
		$(o).attr("alt", "extend");
		$("#"+num).children().remove(); 
	}
}

